package com.rundow.common.constant;

/**
 * Created by rundow on 2023/1/18 15:41
 */
public interface RabbitConstant {
    // Arguments
    String MESSAGE_TTL = "x-message-ttl";

    // Event
    String TOPIC_EXCHANGE_EVENT = "dc3.exchange.event";
    String ROUTING_DRIVER_EVENT_PREFIX = "dc3.routing.event.driver.";
    String QUEUE_DRIVER_EVENT = "dc3.queue.event.driver";
    String ROUTING_DEVICE_EVENT_PREFIX = "dc3.routing.event.device.";
    String QUEUE_DEVICE_EVENT = "dc3.queue.event.device";

    // Metadata
    String TOPIC_EXCHANGE_METADATA = "dc3.exchange.metadata";
    String ROUTING_DRIVER_METADATA_PREFIX = "dc3.routing.metadata.driver.";
    String QUEUE_DRIVER_METADATA_PREFIX = "dc3.queue.metadata.driver.";

    // Value
    String TOPIC_EXCHANGE_VALUE = "dc3.exchange.value";
    String ROUTING_POINT_VALUE_PREFIX = "dc3.routing.value.point.";
    String QUEUE_POINT_VALUE = "dc3.queue.value.point";

    /**
     * 星号
     */
    String ASTERISK = "*";
}
